#include <iostream>
#include <conio.h>
#include <string>
#include <vector>
using namespace std;


void GetSleep(int time){
	return;
}


int GetMTime(){
	return;
}


void TurnOn(){
	return;
}


void TurnOff(){
	return;
}


void GetFire(int time){
	TurnOn();
	GetSleep(time);
	TurnOff();
	return;
}


void kbCtrl(char start,char stop,char sustained,char quit){
	while(true){
		bool ConSustained=false;
		if(kbhit()){
			int input=getch();
			if(input == start){
				TurnOn();
			}
			else if(input == stop){
				TurnOff();
			}
			else if(input == sustained){
				TurnOn();
				ConSustained = true;
			}
			else if(input == quit){
				TurnOff();
				return;
			}
		}
		if(ConSustained){
			TurnOff();
			ConSustained = false;
		}
	}
	return;
}



void ProCtrl(char division){
	vector<int> program;
	while(true){
		int input;
		cin>>input;
		if(input >= 0){
			program.push_back(input);
		}
		else{
			break;
		}
	}
	while(!kbhit()){
		GetSleep(100);
	}
	getch();
	for(int i=0;i<program.size();i++){
		if(i%2 == 0){
			TurnOff();
			GetSleep(program[i]);
		}
		else{
			TurnOn();
			GetSleep(program[i]);
		}
	}
	TurnOff();
	return;
} 




int main(){
	
} 
